Selegator: fix '-> last in block'

...when the block extends to the end of an entire script