Corrected some bugs in DAO.
Merge branch 'master' of https://github.com/Nic0w/SimpleContactManager.git