Add work-around for IE <= 8 which doesn't support :last-child CSS selector