Corrected length of list bug which decreased list by 1