safety check to make sure we're actually in a table row