Fixed some edge cases with clearing lists and headers on multiline select