Fixed list not clearing when input is empty