Fix how where conditions are formatted.