Material Sphere Mask limit?

I’ve made a material based on the one from this tutorial: - YouTube, but I’ve added more “Position” vector parameters for more actors (by adding SphereMask outputs into Add nodes) - it works, but only for max 4 actors. For example, when i have 4 actors sending their position to my param collection (separate parameter for every actor), adding fifth actor causes one of previous actors’ mask to disappear. Is there some limit, max 4 masks?