Fixed error message, fixed imported records count.