fixing replica_strategy validation

:prefer_master strategy added to conf sanitizing and error message