Now checks whether the configured forum exists. Fixes an error that appears when the block is restored into a new course.