Tvh will record all episodes without "episode-num" field in Autorec.
As you can see in the screenshots, tvh will record all episodes that has no "episode-num" field in the xmltv file after creating an autorec rule limiting the seasons to record to just one (in this case, season 5). It will record all the episodes with the "episode-num" field set to season 5 (in this example just one episode) as it should but also all the episodes without that field as it should not.
This occurs under manjaro and tvh version 4.3-1811~ge1fb5c025-dirty.
I believe this is not the expected behaviour.
Thanks in advance.
Actually, I requested that episodes with a missing season (and by extension episodes) should be recorded. https://tvheadend.org/issues/5479
This is due to special episodes that were aired with these fields missing.
So at first glance this looks to be Working As Designed. Please don't change it.