Fixes to DbConnector yet again.