When setting the collision on a box trigger in the construction script it permanently disables the collision on that trigger.
The print string indicates the collision has changed but it does not. The collision remains set to the “Custom Collision” preset and cannot be changed.
Further if you delete the construction script then try and reset the collision in the instanced actor by clicking on the component, you cannot change the setting from “Custom Collision”.