G-Cloud bug fixes

A few fixes before the bug bash.

These should be self-explanatory except the last commit ("Add temporary fix"). This is a problem where, when the last data item in a series is null, the completion rate graph displays it correctly but cannot select the right model on hover. I've added a temporary workaround for the bug bash and will look into this in more detail afterwards.