Made cap of priority in sort field consistent with other field usage.