Fix a condition, where the startdate string literal was checked, if it's an instance of String, which returned False. This led to the case, where the list of occurrences wasn't shown. String literals should be checked withtypeof instead of instanceof.  See: http://stackoverflow.com/a/203757/3036508