Fix reservedKeys logic

This was preventing settings actually having any effect at all
Merge pull request #7 from mhart/patch-3

Fix reservedKeys logic