Fix bug: handle when order doesn't have status