Need to mask phase and coherence for unwrapping (coherence > 0.2)

A similar topic was opened a few days ago.

In your case the unwrapping is disturbed by the 0 values in your raster because they are not interpreted as no-data-values.
Why not unwapping the whole image and excluding the low coherence areas afterwards?