Closes no issue This bugs only occurs when using Postgres
Steps to reproduce:
Steps to validate that it works: