Fixes indentation in get_key_words.
Adds condition for empty key word result. Fixes #9.