Time conditions cannot cross midnight.
AHP evaluates time ONLY in a 12:00 AM to 11:59 PM window.
If the condition is true, then it continues.
Given this, setting a time condition of "Between DUSK and DAWN" will always evaluate FALSE, because there is never a time that is between DUSK and 11:59 PM, and also BEFORE DAWN.
I don't know why your condition logic seems to be backward. I suspect you might still be doing something wrong with AHP, or with your testing accidentally.
If you want something to only happen between DUSK and 11:59 PM, OR between 12:00 AM and DAWN, then you need to break it up into two separate macros, each with half the condition.
If you give them both the same trigger address (ex: A4 ON), then they will work like IF-THEN-ELSE logic.