found a little bug in get_object_index_by_property when sending it an array