Fixed SQL issue, missing a 'WHERE'.