Played around with it somemore today. Disconnected the wire that goes to the lock and nothing works with it disconnected. Definitely something to do with the rear hatch lock though. Taking the hatch out of the picture and closing the lock manually same symptoms, nothing works. Unlock it and everything is back to normal.
Hopefully this weekend I can mess with it some more.