Fixed typo in array index order checks.
Added failure messages.
Merge pull request #760 from Its-Tyson/filter-priority-service-method-issue

Fixed copy-paste typo in unit tests I submitted yesterday.