Repair the jira search focus logic