I am unable to understand why ResultProxy object cannot be used twice when typecasted into a list. While printing the same statement again, the query_output is an empty list.