Prevent order statuses affecting other queries.

Closes #6437