Prevent crash on Notebook pane when printing 0 records

Add a guard against a null pointer when the user attempts to print a
Microsoft XPS document from the Notebook pane, but has no entries.

Previously, this would cause a crash.

Change-Id: I52bb577b8e79e18f235a417a70936ac89c5dd172