Feature/856 primary contact auto affliation

# Warning
# Info
# Issues
Fixes #856
Fixes #1009 
Seems like a regression. We could use the new debug method and comment it in.