fixed get subjects from objects, wasn't working before because wrong arr...

...ay was used

Fixed a tiny bug about getting objects from subjects. It wasn't working before because the subject list was used instead of the object list.