Minor fixes

Most people are used to `ASC` and `DESC` (capitalized) syntax for getResource properties.

When testing it seems leaving the getResources property `$parents` to the default returns unpredictable results. Setting it '-1' forces getResources to use the results of the getSelections query only.