fixes #50 and adds no results message for orders tables
fixes #50