Changed report code slightly to use ther correct trasaction tables.