Fixed bugs related to customer object and refresh cycle (merging)