Fixed encoding bug in uniqueness check. check is now Case Sensitive