Fixed select command generation from no predicates.