Fix tag version ordering during deploy