I was in the same situation and just got my PGWP approved yesterday.
I raised a webform detailing the timeline of my studies and the unauthorized work. Reason for the violation is false assumption of the rule and apologize for the mistake.
EXPLANATION LETTER Template and instructions.pdf...