Fix bug when clicking to hide problems in LB1

Some were hiding too many problems and others led to infinite loops.