Fixed issue with amount being atoms, not binaries