Fix assess students null pointer exception issue