Resource association paths for single elements are generated incorrectly when using custom methods

...ents. same fix that was applied to allow custom methods on collections