Fixes bad course student relationship