Fix another WHERE bug