Fixed bug when a moment object is passed for an AnonymousRecord.