fix full list generation for joins

Change-Id: I2487797c20176a5af8f8c06d32239fc88b1db0a8
Reviewed-on: http://review.couchbase.org/43861
Reviewed-by: Iryna Mironava <irynamironava@yandex.ru>
Tested-by: Iryna Mironava <irynamironava@yandex.ru>