CRM-13973-qa : a minor fix for - no changes in selection page and on save causes DB Error

I have tested it with some scenarios, working fine.