Check for existence of req.accepted[0]

This stops us getting the cannot read property value of undefined TypeError