[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.