Fix for null title error. Didn't commit properly last time.