Fixed a bug in Polite Priority