check that newconfigurationvalue belongs to current configuration