Fix ProjectDao#delete return type to Int.