Fixed more input validations
Merge branch 'master' of https://github.com/nbhansali/cyclos_secure