Fix replace function for custom fields

Found very interesting bug.

If create custom fields with names:
custom_phone
custom_var1
....
custom_varn

replace function with replace 'custom_custom_phone' to 'phone' and CustomField.objects.get(name=field_name) with throw error.


ps customfields that are dependes on queue is in progress.