Don't try to save undefined values

Postgresql adapter fails if we try to save undefined as date.

Just skip undefined fields and don't save them.
Merge pull request #126 from maxlapshin/patch-1

Don't try to save undefined values