Fix several bug in services about contest importer.

#18