Moved the prepared delete statement inside of the if statement that checks if the GET isset.