Fixed call to django.db.models.Max in get_cherry_pick_total