BUG FIX: for a metadata query, no results or meta information about it were stored in db, hence, the GET results query failed. Fixed!