Fix so that select all and select none buttons are hidden for large lists.