pet selection bug fix with lodash (_.findWhere => _.find), fixes #902