Fixed default selection of database bug