#488166 by EmanueleQuinto, Damien Tournoud, jhodgdon: search relevance calculation fails if last_comment_timestamp is NULL