Fixing a bug where string restrictions were being double single quoted