Fixed a small bug

* changed a undefined argument passed to execute fn. to null
Merge pull request #45 from hardikj/empty_db_support

Fixed a small bug