SIM card: Detected when the card is removed
Possible reasons I can think of:  


the card detection switch switches from Vcc instead of ground, so that the logic is inverted and a falling edge becomes a rising edge and vice versa.  
there's contact bounce, generating both types of edges. Solved with an RC filter.