Fixed min/max bug with bergman calls.