Bug fix: remembered session variables not initializing correctly when adding an item in certain circumstances