Fixed some site assignment bugs when assigning site to people with temporary ids