Check for existance of req.accepted[0]

This stops us getting the cannot read property value of undefined TypeError
Merge pull request #1871 from jsbin/fix/type-error-value

Check for existence of req.accepted[0]