Fixing a bug that was causing prescribed drugs not to appear when a user wants to dispense during back data entry