Fixed pattern matching bug in summarise results script