Merge pull request #1124 in CATS/clowder from bugfix/CATS-752-deleted-space-in-spaceslist to develop
* commit '0ed7a151bf41f1137476a3e9b21bac74586fbdd9':
fixed - datasets not in collections will be fixed
fixed problem where sub collections spaces not updated
Datasets and collections that are in a space are removed from the space before the space is deleted. This way the deleted space id will not be in the spaces.