Store now uses the correct state.