Found bug thanks to automated testing. :)
Further improved integration testing.