Reserved words verification fix

Hello,

There is an issue with the checking of the reserved words (issue #39 ).
This commit fixes the issue. Submitted as pull request mainly for review.

Regards,
Alex