Fixed escaping, avoiding tokens which are marked with a negative check result