Subject: Problem to get getreffdate and getreffno when no transaction

Description:
1) when there is no transaction for perticular vouchertype
   query result is empty list not None