Update after code review comments.   - Remove the cascaded ternary for readablity and repalce it with     if statement   - Fixes #72
Update after code review comments.
  - Remove the cascaded ternary for readablity and repalce it with
    if statement
  - Fixes #72

lookout/deploydb,rmoorman/deploydb,rmoorman/deploydb,lookout/deploydb,rtyler/deploydb