Fixed bug where resource requests with different priorities
would get clustered