Glad that works
For future reference though, with the previous settings, if people could still see the activity grayed out - it means the "eye" in the restrict access settings was open rather than shut.
- If the eye is OPEN the students who do not meet that part of the condition will see the activity but it will be greyed out and have information about why they can't access it yet.
- If the eye is SHUT then students who do not meet that part of the condition will not see the activity at all.
See https://docs.moodle.org/32/en/Restrict_access_settings#Hiding_the_conditions for info and screenshots.