Bug fix - Patch Query model only if the query is an IssueQuery