Fixed deprecation warning
Search box now redirects to tasks list if nothing is found