Update powa-1.1--1.2.sql to keep up with changes
Revert correction on HAVING clauses