Fix an SQL error when disabling albums