Fixed filtering on the homepage for postgres.