Validation: fix for isreadonly old/new switch