Added assertions for re-prompting mechanism