Fixed match error in capacitor logic introduced a few commits back.