Fix bulk upload issue by incrementing photoIDs.