fix for https://github.com/opnsense/core/commit/06ff13943b3cddc378005bcd8995c105bb8057a0#commitcomment-10034901