Do not remove sample extension twice.