fixing logic error.  Need to check whether duration is blank for bots.
putting it back
Merge pull request #2 from rcarvalho/master

fixing logic error.  Need to check whether duration is blank for bots.