Oh wait, the comment wasn't on count($bugs). That code was already there, I just wrapped it in the condition to avoid a warning on the foreach. I guess we don't need that