added conflict checking to deal with cases where dbsearch plugin is still running