This will blow up if you have a scalar coord. Previously the function would return 0 as expected.