Get rid of useless quotes in the revert queries for numeric fields