Fixes issues #8854 and #8837

Adds check to make sure random professions don't have scen_only flag.