Fix search replace reserved column name issue

The 'search-replace' command resulted in an error if one of the table columns was using a reserved word like 'default' for a name.

This fixes that issue.