Ricky Gervais has explained that the reason Sandy was written out of season 3 (breaking a Ricky Gervais tradition) was simply because actor Mandeep Dhillon wasn't available at that specific time (via RadioTimes.)