Maran: 'Cagliari deserved to win'