Correctly ignore blank sub whereclauses instead of rendering as "( )".