Do a backup, preferably 2 backups on 2 separate drives.
Go to Finder and select your user/home folder. With that Finder window as the front window, either select Finder/View/Show View options or go command - J. When the View options opens, check ’Show Library Folder’. That should make your user library folder visible in your user/home folder. Select Library. Then go to Preferences/com.apple.spaces.plist. Move the .plist to your desktop.
Restart the computer and test. If it works okay, delete the plist from the desktop.
If the same, return the .plist to where you got it from, overwriting the newer one.
If that doesn't work, repeat the above moving all the spaces .plists.
Thanks to leonie for some information contained in this.