Fixed multiple bugs (Delete, Flush) , ONDbTable fixed

Changed Delete and Flush mechanism of all table
Fixed ONDbTable bugs
All Db based table now working fine