Fixed bug where set cart ran for non logged in users