fixed an error with null doses for drug orders