The user now gets redirected to an error page rather than crashing when there is no current term set up.
The user now gets redirected to an error page rather than crashing when there is no current term set up.