Fix missing quotes on timestamp(0) rewrite. Thanks to Pierre Maris Petit for the report.