Fixed length_check death loop.