Fixed parsing in catch by reference check