Fix a crash in state update. Using db fix in mediation browser to fix date prob.