Fixed an off-by-one error in the prefix-length checking in