No properties suggested - fixed

After updating suggestterm.suggest.js no properties were suggested, only classes. This pull request fixes this bug for successfully imported vocabularies. If vocabulary vas not imported, no classes or properties were indexed and they cannot be suggested.