Fixed a bug with the 'do notation' consuming statements after it.