Make lookups in expressions library case insensitive. Fixes #166