SD-560 - REST API for display the content of a View

Samll improvement on query clause merging