The jobless rate of 5.1% was slightly better than expected.