GetTotalActiveEffectMagnitude FOHE and GetTotalActiveEffectMagnitude REHE return 0 because the potions work instantly.
(As an aside, I found that any access to FOHE and REHE (and possibly any other MagicEffect codes) in Nehrim.esm, silently halts the script.)