Fixed a warning about non-existant documents