Fixing the italic-bold font check. Thanks nsz.