added a couple lines of sql to ensure that reports are properly added to entity table