IssueQuery patch for elder redmine versions