Fixed inventory check before submitting telegram