Doctrine_Record: toArray fix