Replace history entry on successful import (prevent attempted re-import on back button)