Modify return row content for if pattern