Fixed remove item from list function.