Added support for joining on fields that are arrays. Just kinda hacked it in there...