Fixed bug in PCN value comparison