[FIX] hr: fix traceback when updating manager of department (ids is already a list, not necessary to list it)