Fix an issue that the number of FDB entries is decremented erroneously.