Fix prefix-of.

Closes PR 13448.