domestic charge not calculated when registered post is disabled

For domestic parcels (if ($destCountry == "AU")) the "STANDARD" is not among $allowedShippingMethods so in case "registered_post" is disabled it will never be true and it skips the calculation for not-registered post