The filters for both events seem not to work properly. I tried the "circuit-network-connectable" and "rail" filter, which didn't work, but the "ghost_type" filter works.
Since these are events which are only applied on ghosts, the "ghost", "ghost_name" and "ghost_type" filters are unneccasary for them.
Event filters: on_pre_ghost_deconstructed and on_pre_ghost_upgraded
Re: Event filters: on_pre_ghost_deconstructed and on_pre_ghost_upgraded
Thanks for the report. It's now fixed for the next release.
If you want to get ahold of me I'm almost always on Discord.