Sounds like your edge is wired backwards. N/O vs N/C contacts.