error checking for ExecuteScalar
Merge pull request #179 from ericsink/master

Another little patch