Hopefully fixed the bug described in JIRA COCOON-1939 - Stack overflow when inheriting from block that alread inherits from another one. The solution is the one that I proposed in the JIRA issue. Not much testing though.