What does this PR do?
Fixes two minor bugs in the key re-fetch logic:
Contribution Guidelines By submitting this merge request, you agree to follow our Contribution Guidelines