Fixed exam creation and edit