Prevent errors when comments' parent pages have been removed

A bit of an edge case, but may help others too