Indexfile data search works for 1 record only