ModelState.Clear() added, fixed the logic