Fix the check if list display is selected