CRM-14470 - Moved check for existing field edits inside the function.