Best to check for the water leaks though, just because it went away this time, you may not be that lucky the next time. If you are still under the original bumper to bumper warranty, get the glass weather strip replaced under warranty. If not, it is only about $45.00 and takes all of 15 minutes to replace on your own.
*** Update ****
Messing with my Jeep yesterday I decided to pull off the hatch trim and confirm that there are no longer any leaks. I decided to try and see what would happen if I plugged in the sensor. Wow, it worked. So, after a month or so of sitting, I now don't need to buy the latch.