Can handle en empty query.