Fixed: treasures should only appear in dead ends.