Update issue_patch.rb

fixed validation to take in account the tracker visibility