Bug fix in post repository.