Fix logic bug in skipping SetApiCallbackUrl