Made changes to deleting the container from list of containers in the session

Just searched through the list and did a splice at the location
I'm sure I've seen the same loop form in line 154, was just trying to conform