Fix OOIION-1071 and OOIION-1110 extended resource framework
Fix small issue with following compound associations