System cell determination algorithm improvements.
Fixes https://github.com/intersystems-ru/Cache-MDX2JSON/issues/29