Corrected the if condition to prevent JSONException for JSONObject not found due to the first row being empty in the edit class page for the student list