imapx_is_duplicate_fetch_or_refresh: Fix incorrect bit-flag test