fixed federation issue due to missing delegation + test + some minor tweaks

fixed indenting

renamed test
Merge pull request #4911 from JannikStreek/feature/4904-poll_fed_issue

Fix: federation issue with polls