Fixed overzealous value checking.