Get requests at the end of a document were not picked up correctly.