Fixed (again) the problem with priority map being defined to take int values rather than double values.