Silly null check fix.