Reproduction for issue 635