Fix Grade validation

Not allow to insert grade to a student who is not in the lab