Changed around issue filter logic.

Provides better dynamic counting when filtering.