fixed a bug in details view which used to show the table with none values even if there were no transactions