Fix bug with isset; just check if the key exists. Then it is ok to setOption.