Calendar patch

http://drupal.org/node/1591388#comment-6301248

if (!isset($data['data'])) {
  continue;
}

Signed-off-by: A. van der Pluijm <info@urbanlink.nl>