Adding a check to make the staging isn't trying to copy from itself