Applying templates marks unarranged as false