fix some warnings

Fixes https://github.com/interconnectit/Search-Replace-DB/issues/87
Merge pull request #88 from Tarendai/master

fix warnings