Attempting fix on postgresql now() function