Fix list::end()