Does this need to be something like: `if @options[:through] && parent_resource` instead to avoid raising when `resource_base` resolves to the resource_class when `@options[:shallow]` is true?