Fix delete tag out of order