England only toured Bangladesh after receiving safety assurances following a deadly terror attack on a Dhaka cafe in July.