additions to handle the loops (loop for i from 1 to 10 collect i always (< i 20)) (loop ... thereis i collect i) correctly.