Removed warning if $loopsid is not set.