Fix uniqueness check on title variants