Fix allowing duplicate plates