Afghanistan efforts 'haven't gone to waste' in election