I believe I found a typo in mcv.c, fix attached.
-- John Naylor https://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services