Replaced for loop to pad Doc ID with Zero by PHP str_pad for Related Documents