Correct issue with N1QL query instantiation.

Change-Id: Ie92a09dc25edc60f8949d27c85baa7be4ad3aac4