Small optimization in rsniftiutils