Remove the unneccessary double check that was only used to provide a meaningless warning message for a corner case.