Fixed bug in composite metrics polling.