Changed Post.query to use array of objects from Maasive