MBS-5740: Only show the 'select all' checkbox if the table contains checkboxes