Imho you should  test if the manager exists and return an empty array otherwise.