Fix and issue with partition parallelism and MySQL 5.5 (invalid WHERE clause)