index.php: bugfix: #4

Bugfix: Was returning to app's root after search