fixes bug in solr indexer for Post model