Check if _id exists before pushing