Added check for duplicate pushes