Removed the last few potential bugs in `fdb.erl` caused by missing types
Removed the last few potential bugs in `fdb.erl` caused by missing types

Thank you dialyzer!

happypancake/fdb-erlang,happypancake/fdb-erlang