[BUGFIX] Indexer tries to insert NULL into DB