MDL-42619 block_community: delete course redirect bug fix