Added tracking number validity check for create and update