Fix https://github.com/tamentis/rpdb/issues/3