Fix SQL Update WHERE clause