Ignore aborted transactions when getting sequence number