Fixes sorted merge joins
More lodash usage