By default query on al post status so trashed posts will also be returned.