mod_search: Do integer conversion on arguments which are direclty passed into SQL

epgsql queries expect arguments to be strictly typed