Added deletion of drug entries on void in the flat table