we can't prevent it from going less than zero since someone may adjust the max after people have taken locks so it can go negative for a while. We can return the number though.