Fix selectall inconsistancy when filter is applied