Moved incorrect log statement