Fixed spurious debug warning