Fix for minor bug causing incorrect metric/dimension matching.