purge enterprises and enterprise queues where the db is gone
purge missing enterprise and fortify add ent
delete weird line
it's not always a sql exception
merge
Merge pull request #10 from daptiv/fix-bug4

Fix bug4