Better checks for invalid amounts in withdraw and deposit