Fix typo in retrieving the build ids
Specify the number of build monitored