Bugfix: Fix error with DBOperation.cpp

Being new to C++, I'm not sure that it's even done right..
Merge pull request #255 from thatbryson/master

Bugfix: Fixed two warnings in DBOperation.cpp.