Fix checking for id.