fixed bug: in script run on marshall page load to update the counts in sidebar causing apache error logs to fill with unnecessary errors