Fix a crash when adjusting the priors for a class with no system feature weights.
Add this to last commit.