You didn't identify which latch you had inspected... so I'm going to assume it isn't the latch attached to the wihdshield frame... where you "close"... tighten the roof. You know.. the latch where you would insert the red clip. That said...
Poke your finger into the latch... in out in out in out. Maybe there is some debris? Maybe a lightly faulty contact. If that doesn't "fix" it then pull that windshield frame latch and inspect the internals. There is one little part that can wear... and that will cause the latch to not "send"/"receive" any signal... instructions (lower windows, etc.).
My top was acting wonky. Pulled that latch... pened it up... and with a little piece of tape "corrected" the anomaly.
Report back.