Fix an error with the materials in factopy/admin.py.