Fixing >= to <= issue in async query
Adding passing test.