changed the tenary to an if clause to block posting results for students whose matric numbers are not found