[nim] #24 Fixes bug that caused the app to crash on submiting an order