Adds feature to only run selected departments

- Fixes bug with empty authors