[#1612] Treat zero as infinity for facets

For historical reasons, limit=0 needs to be treated as infinity.
Merge remote-tracking branch 'nigelbabu/backout-facets-breakage'