It sounds like the "up" command is now tied to the "forward" action of the switch. My guess is it's a bad switch or relay issue. Pop out the sunroof control panel to see if any water has leaked onto the switch. Or maybe a wire up there is broken or touching something it shouldn't be.
I'm not sure where the relay is for that, but my guess would be under the rear seat. You can take the rear seat out and run the sunroof to see if anything clicks in the rear relay cluster.