fixes performance problems on issue_show caused by a plugin's visible scope

This patch is not intended to be part of the code. It is required because of a plugin overriding the visible scope's underlying Project.allowed_to_condition methods.