Fix from-prefix

Some remnants of code where left here for the improved VRF handling of
from-pool. Unfortunately that broke the from-prefix function. It's now
fixed!