Fix issue #43.
When checking for available balance we should use floor.