Fix company-occurrence-weight-function

#152