Should I wrap it in an if checking if documents match or is that OK?