Search did not work any more with python controller

Hej,
It seems that since https://github.com/qgis/QGIS-Web-Client/commit/1461dcdf2749259ec6c0c4500a87455e423489f1
the search don't work any more when using the python-controller. As I don't know if this bugfix works with the php-controller (most likely not), this bugfix could be be improved.

Cheers,
Tobias