Better error checking on calendar creation