Forgot to coerce minsomaticscore to int