Fix bug where unchecking the select all checkbox doesn't clear selected models under client and infinite mode