Tweak how traced flags are handled; make sure they don't get cached poorly.