Removed remains of if not $thread condition in index.php view