Study reaffirms safety flags for last-minute meds