Fixing crash when invalid source key, with simplier approach than #6. #6. #6.