fixed bug where object_type: being given as a single object instead of a list failed