fix queries to get delivery request details