Fixed db so has project states