Added more logic to check when we hit the lowest level of filtering.

Prob wanna clean this up a bit, but there you go!