Fixed adapter to correctly process query custom placeholders flow