reproduced bugreport GRE-314 in a unit test, applied a shallow fix. Tested rtrclient to verify that the problem has indeed been solved