Can an invalid procedure be replaced with a valid one, even after the invalidity has been raised?
Yes, an invalid procedure can be replaced with a valid one, as long as it is done within the legal timeframe for performing the original procedure.