do you suppose that the latch might be protruding too far, perhaps due to wear or the door having sagged, so not quite clearing the electric release? I wonder if you could test it with a small screwdriver, applying a bit more pressure to either of the parts to move them slightly further apart.