Fixed db bug with submitting no options