Use isset instead of array_key_exists.
Merge branch '4.1' into 4.2
Fix broken PR.
Merge branch '4.1' into 4.2