Fix problem with incorrect lp_id when is an extra field - refs BT#7998