#15: Added filtering by PNC status, also did some code refactoring.