Fix - getAllRelatedObjects now returns correctly