fix(gui): unsynchronized search index creation results in NullPointerException upon performing search (#429)