Modified isset() to array_key_exists() and allowed for merging full arrays with set()