Merge inverse relations into single related resources list

Fixes EDOZWO-296