Fixes for remove item functions.