Initial fix for wrong call on session_destroy