PHOENIX-1428 Queries with limit against tenant views is broken