Fetching the subschema of an object to populate the selectbox of the add menu item
Bugfix: wrong check, type of scope.schema checked instead of the its value