use Array.wrap instead of Array() as under rails 4.1 and rbx 2.2.6, Array() doesnt return a proper list. but itself for the each call causing doc.new_record? to fail as it gets the criteria array instead of the actual document in the array. This also makes it consistent with every other call using a relation array