Fixes ID assignment on session creation. bjmcmorran