Fixing the use_database model method so that it will work as expected