Updating the QOP so it is only assigned when returned.