Fix caching of space parents and subspaces
Merge remote-tracking branch 'origin/7.x-2.x' into 7.x-2.x