My flight from PHX to MIA was first delayed by 50 minutes due to a late arriving a/c. However, apparently the a/c got better routing and according the delay at 20 minutes before the normal boarding period was cancelled and the original departure time reinstated. It does happen, particularly at a hub airport in which a replacement a/c and crew can be found.