Cleanup in get_students method