Fix __mapping_only__ for manytomany bug