Bad value checking.