Implemented collapsing for choice fields.