Fix SQL error in all_faves