Bugfix in search module.