put a limit

we are only looking for the first revision so this may make it run faster