My understanding is that it is up to the customer whether they want to integrate the payload before or after the hot fire test. Integrating before means higher chance of an incident like this, while integrating after means significantly longer turnaround between the hot fire and launch.