BUGFIX: Now, selected_database() method returns '0' if 'database'
parameter was not specified in constructor