Added SQL query for remove that was accidentally removed