Fixed bug #496681, wrong behavior of non-javascript "Select All".