Fix a poorly coded check dwfreed pointed out.