bug #4435 WHERE clause can be undefined

Signed-off-by: Marc Delisle <marc@infomarc.info>