Update pagination behaviour because I get an error if I try to access a project without any build

Error was : "Page with number: 1 not found"