Return immediately when the prefix is found