Fixed issue where ignored channels were not indexed.

Also PHP Linter cleaned things up.