Fixed bug in querying eqpres PPI history in scheduling tool.