Added a quicker upsert checker