Update update_stats.php

Fix bug where unknown statuses caused infinite loop