More checking if terms exist already in the db