added bplog checks for empty orders error