Fix wrong call to where()