Fix for subforms with less than three elements, and no elements selected for display.