fixed: notice in dbjoin getLabelForValue - if value was an array it was creating a duff where statement