Actually grab the correct revision ID.