Why do these two integrations produce different results?

The two integrals in the attached notebook are algebraically identical but produce different results. I’d like to understand why, and whether there is something I can do to consistently obtain the nonzero result.

Not sure, but 0 is the wrong answer:

As far as I can tell, that’s a bug.

Yes, strange indeed! And the (wrong!) result depends on the order of integration:

I’ve encountered the situation before where the order of integration greatly effects the results. You might find this post to be interesting reading

Note that there is a singularity for theta=phi=0. This can cause trouble.