SQL: fix default values for text and dates
BibField: speed improvements