Fix call to get_dimspec().