Fix leading zeros being truncated