Fixed the header checkbox for to select all. Ticket #1465