Add sanity check for escaping