Fixed possible bug in list.