Fixed WetKit Core for Issue #2844320 by b_sharpe: Panelizer - PDOException: SQLSTATE[42000] Group By Clause