fixed report query issue.
Merge pull request #12 from nasirkhan/development

fixed report query issue.