StackOverflowError in MasterDetail fixed, issue #222.