Fixing query for getting files of issue.