Fixed opts validation

:prefer_slave strategy added