bug fix in has_may_relations: remove new relations in decode