Added logging in some cases and made some improvements in the match import job.