If Statement: Fixed mistake grade -> avg_percent