Fixed prefilled functionality in case when external tags ids are used.