Fix query filter for date ranges
The query for pull request of user incorrectly worked with date ranges and
instead it assumed that since is lesser or equal than the date we are comparing
to.
This commit is fixing that behavior.
Signed-off-by: Michal Konečný <mkonecny@redhat.com>