Fix list ranges