Corrects lazy loading handler when loop is disabled

Related to #276.