Sliding door sensor not working 100%

I've had my Konnected system working well for several weeks now.  I love it!.  Except for one problem.  I have double sliding doors that meet in the center.  Each door has a magnetic sensor to sense movement.  The problem is that sometimes Konnected / Smarttings will read the door as open when its actually closed or closed when it's actually open.  At first I thought they were old sensors so I replaced them with new ones.  Same problem :(  This problem doesn't happen all the time. When I installed the new sensors I made sure the wire connection were tight with no play / short possible.\

I can't figure out that the issue is.  Any thoughts?