Fixed problem with removing item from list.