Added threshold for maximum count of resolved array items.
Fixed critical regression bug.