Bugfix: Fixed two warnings in DBOperation.cpp.

Being new to C++, I'm not sure that it's even done right..