Fix bug: empty list for no result query