Fixed compiler error in LNDatabaseManager