Fixing interface issues with collapsed elements and the checkbox for hiding lines based on alerts