Fixed erroneous handling of consecutive pips with run=standalone