Fixes an issue where unchecked duplicate tiles caused some tile classification to be applied multiple times.
\approve @ds @laurens