Fix invalid ast generation on index sends
Adjust metric configs