Location parsing bug fix.