I suggest to add `:path_ids` as the 3rd argument similar to what I did here 
https://github.com/theforeman/foreman/pull/1435/files