There was an unintended side effect in my last fix.
Although it corrected the problem if you have 5 threads listed, it also removed a thread from the list when you have less than 5 listed. Here's a better tested quick fix for the showthread_complete plugin.
Replace:
PHP Code:
if(!in_array($threadinfo['threadid'], $recent_threadviews)){
$recent_threadviews = array_slice($recent_threadviews, 1, 4);
With:
PHP Code:
$count_recent_threadviews = count($recent_threadviews);
if(!in_array($threadinfo['threadid'], $recent_threadviews)){
if ($count_recent_threadviews > 4){
$recent_threadviews = array_slice($recent_threadviews, 1, 4);
}