pass correct arguments to buildJoin fn
Merge pull request #36 from goodybag/36-bug-values-undefined

Values is undefined for joins