Remove duplicates when mixing bound variables from generated subquery with joined relation
Version dump to 0.0.6