FIX: DataObject::db() doesn't respect overloaded db types (fixes #3620)

It would be good to have a test to show that the non-extended DataObjectTest_TeamComment 'Comment' field has the correct type too.