Fixed problem with DatabaseConnection Persistence