Fixes bug that score value was used as key for batch map