Prevent an exception if no offline messages were retrieved.