removed faulty check
added support for reindex trigger