Fix case-inspection of lazy values.