Fix unique anchor validation

Unique anchor validation was not working right. Changed the logic, but also needed to remove set_anchor from the import function so it is not re-validating display data (from the db), which could result in lots of un-needed extra queries...in other words, we'll only validate anchors using set_anchor when storing them to the db.