ChangeDetection: Adding new ranges after disabling the current enabled record

this should not be there. May be this PR should be based on my other  PR ?