Bristol City took the lead against Middlesbrough thanks to Sam Bell's strike on the stroke of half-time.