Adding new action type block-dispense for tracking what's ejected from dispensers properly. Also correcting the query order for the single-action query statement