Pull request for "WHERE" bracketing bug and "UNION ALL"