Fix behavior of department for user with single department