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)