Fix inheritance issue in fixtures in some many to many cases