Fixed up implementation of join