Work around empty calendar stores, fixes #10165