Fixed warning in array_keys()