[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 #106 from holtgrewe/fix/regression_308d5e

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