Fixed! Maybe some tests should be added for this, although not sure if that's possible with the current API.