isolated issue in Switch-Slide.js, getting a 500 error because the ID does not match the one on in the database