Fix check for if secondary stat already exists