Avoid double saving of version into session cache