Set session after removing item. Closes #3382.