fix bug where clonedeep was in fact needed and a _.min bug that gave infinity result