Ignore resource priority if it's null as well as empty