N1QL: temporary solution to avoid bug MB-12848

Change-Id: Ib5f86bb311c791287429f3f7c88c2166aa475902
Reviewed-on: http://review.couchbase.org/44110
Reviewed-by: Ketaki Gangal <ketakigangal@gmail.com>
Tested-by: Iryna Mironava <irynamironava@yandex.ru>