Fixed transaction duplicate bug, updated array item finding with underscore findWhere