Removes fields with wrong values.