better support for max andmin entities and mentions in coref, minor changes to example