Fixed several warnings in models.py and Commission_type json population file.