Fixed double ajax call to grades page