The first query clause you provided must be an object of class KORA_Clause