Minor bug fixes in Pulse2Event & erp processing pipeline