Limit departments and journal searches to their resourceType

Added a filter in both departments and journal searches so the
results are limited to their own respective resource types.

Departments has an additional filter that limits it to departments of
the current tenant.
I'm a bit surprised the unit tests didn't catch this.

Assigning to @Coenego for review