Fixed query - user ID field is 'uid' not 'id'