I created a pull request including that fix:
https://github.com/openwebwork/pg/pull/304
WeBWorK Problems
compoundProblem.pl errors
This forum has a limit to the number of forum postings you can make in a given time period - this is currently set at 10 posting(s) in 1 day