Fix passKeys bug introduced in commit 700d35a