Corrected bugs in lvec_get and l_get