You want to buy an 04.5 or newer (LLY, LBZ, or one of the LM seriers motors). In 06 is when the Allison went from a 5 speed auto to a 6.
LB7 motors are prone to injector issues. They tend to leak and because the injectors are in the head, under the valve cover when they leak they leak diesel into the oil.