fix boolean $issues check now that it's an object