Fixes courses editing and creating.