fix the assertion error for testPMAGetRelationsParam