* fix problem when word's rating was not updated if
a relation is no longer present in wordform_relation_stats
* backward matching of attribute