[BUGFIX] Workspace not always applied in RelationHandler queries