I can reproduce it, but it is now difficult to get an "empty" document tag the way described (I mean '(document)). So I suppose the situation to be now not easily reproducible with standard manipulations.