Cleaned up code
removed null scores from index