Send correct hiddenForRole value to main.html