Fix return condition to avoid injecting stats when there are none