Fix traps overwriting each other.