Fix priority default value for new entities