QueryBuilder returns an empty array when there is nothing found