Update grammar.php

Don't escape values when they are database expressions.