Fixes a syntax error introduced converting to symbol hash.