Porto fixed their error 500 for missing grades bug. Handle this fix.