Fixed error in lexp_valid.