Puts a check for empty calendar before populating.