Fix PDF generation
Due to changes made in the progress of transforming AlekSIS into a SPA, generating a printout of a course register does not work properly anymore.
Due to changes made in the progress of transforming AlekSIS into a SPA, generating a printout of a course register does not work properly anymore.