Fixed ph_multilingual not firing its hook.
Minor optimizations dealing with adt_array sizes.