Builds are not visible in Jenkins UI but present in CLI

I am not able to see some of the builds in Jenkins UI that are present in CLI(backend). Build number permission is correct. lets say out of 1-10 builds for a job only 3,4 are showing in UI while all 10 are present in backend.