Fixed a logic bug that caused the full text index