Fix for issue 1306:
Unable to insert cell in RIDE, if the TC contains FOR loop