Allow empty user inputs

* Fix bug created in merge a4a2ad8.