- use numeric comparison operator for truth value comparisons
- flatten nested "lindex" structures