Fix changing of the cipher state when dealing with early data