Further fix and test for nested recipient_key.