CompoundScope.getElements() is not filtering elements according to the ScopeFilter argument Reviewed-by: jjg