Fixed multiple record problem.