Fixed an ajax redirect. On a side note, I love grep