Fixex bug reported here:

http://askbot.org/en/question/11614/haystacks-real-time-indexing-causes-errors/
Merge pull request #174 from fitoria/haystack-bug

Fixes bug reported here: http://askbot.org/en/question/11614/haystacks-real-time-indexing-causes-errors/