Updated folding and unfolding operations.
Enabled case insensitive searching.