studio: prevent wrongful termination of 'insert into ... select' stateme...

...nts