code refactoring
Merge pull request #3753 from lwyszomi/dataTables

HSR reports added missing 'else'