Fix #12336. Ensure oldIE really does .empty() selects.