Yes, that is true. The solution had been generated with the former version of the teaching tool which did not follow the remark given in the problem description. Since the remark in the problem description makes sense to define a canonical solution, I have updated the teaching tool accordingly and have also fixed the solution in the exam paper.

Thanks for pointing this out!