Fix #2506. Reader only tests if Explosion is set without capturing its value. Writer hard-codes value when it is set.