Updated taxes to check for used types/rates before eleting