Minor check fix, shouldn't matter since if one of these is set then they both
would be set, but this is safer.