Switched to IntWritable to fix index errors