Adding exception for adding existing element to DAO