Fixed bug with percentile finding in the slow database.

Added in better logic for detecting null students.