When placing down a quality tanker ship on a waterway, I get a "Error: Cannot place Tanker ship here, item destroyed" message. I'm assuming this is caused by the quality replacement (More quality scaling replaces the entity with a cloned prototype with quality-appropriate stats).
It would be ideal if your composite placement logic could work with that; if that would be too much work, MQS ignores entities in data.raw["mod-data"]["clone-blacklist"] (if data.raw["mod-data"]["clone-blacklist"].data[entityName] is truish, no quality variants are generated).