daveb
committed
on 18 Jun 07
Group by is no set when no grouping so check if it exists