Removed unnecessary DB finished and created flags