Fixed bug with parsing read statements.