During editing, the loop end test changed from looking for null