MB-100: fix views parameterization

Change-Id: I903732156e18527bbb66f6b976b8ab5d1b9af815
Reviewed-on: http://review.couchbase.org/23814
Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
Tested-by: Pavel Paulau <pavel.paulau@gmail.com>