Those O rings can get stuck and leave a thin ring behind. The new O ring may not seal because of it. The keeper pin can also be installed before the first O-ring, and if so it will leak. It needs to be installed in the groove of the line between to 2 O-rings.
Your cooler didn't look to good...