reporting: fix bug in creating table when data option is passed to constructor
reporting: bug fix. closes #673