Fixed bug in Occurrences