bug #3579 NOW() function incorrectly selected (regression)

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