Added affectedRows check
Merge pull request #43 from Wikia/MOB-1481

MOB-1481: affected rows checks