Seems weird to have this in this loop. I think if you want to do this these two blocks need to be broken out into separate methods.  Personally, I think it'd be ok just to skip over drafts.