Search for certain keys inside array_keys of $edit