Update SessionHelper::flash attributes merge logic.