404 instead of 500 on a enrollment for a course that doesn't exist