added transformation of ContinueStatements

fixed using wrong feature for handling optional statements