Fixed up find student to use database independent code - long overdue