Removed explicit query_cursor:null statement