The problem was that multiple instances were running in the same database. We added Hangfire server with specific SchemaName and it solved the issue. This article describes the same issue.