Corrected behaviour when the server returns an object instead of an array (which can happen when there is only one object, or the filtering reduces the set to a single object)
Merge pull request #7 from villegas/master

Corrected behaviour when the server returns an object instead of an arra...