Fix pattern object comparisons.
Implement comparisons between column objects.
Eliminate repeated column data retrieval when moving cursor.