Added addslashes to prevent SQL error

After deploying this plugin to a fairly high traffic site, we saw well over 25k SQL errors regarding a '_wp_session_-1'' being in the query to clear out expired sessions. I added the addslashes line to prevent this. However, I have yet to locate the root cause of this issue and how a session id of 1' is being generated.