Workflow transition fix + search fix for JIRA 6