Fix ResourceSPOFilter resource_available helper method

Previously was non-deterministic - order of the association list
returned mattered if it returned true or false.
Merge pull request #369 from daf/fix_resource_spofilter

Fix ResourceSPOFilter resource_available helper method