Added a check for "hash changed" on sessions saving, only save when actually changed.