Fix for the completeTags hack.