AttrQuery: Raise ArgumentError, not RuntimeError, on bad argument