[FIX] Reverting 308d5e which causes a regression with empty SWIFT pattern.

The new test in test_index_swift.cpp breaks without the patch in index_wotd.h.
Merge pull request #109 from holtgrewe/fix_regression_308d5e_master

[FIX] Reverting 308d5e which causes a regression with empty SWIFT pattern