Add "WITH(NOLOCK)" to queries containing a join