CBQE-0: fix generating expected results for spatial views

Change-Id: I7eee1054cf0026cf5979f4a7f1af41e9987e5788
Reviewed-on: http://review.couchbase.org/34174
Reviewed-by: Meenakshi Goel <meenakshi.goel@globallogic.com>
Tested-by: Iryna Mironava <irynamironava@yandex.ru>