Fix of ticket #3 (Wrong reference to 'add_to_db').