Fix logic error in Wiki->apiQuery()

array_keys() had been confused with array_values().

As a result, the stricter bot assertion wasn't applied.