Fix divide-by-zero in PCI
patch by jbellis for CASSANDRA-6403