Updated to work with GF 1.7 and added check to not override populated $_POST values with empty $lead values