Fixes "Creating default object from empty value" warning message when
selecting against sqlite.