Useless imbrication.

```php
if (isset($options['calendars']) && count($options['calendars']) > 0){
    //...
}
```