Silenced some warnings
Cleaned up DBQuery